import Layout from '@/layout'
export default {
  path: '/equipment',
  component: Layout,
  redirect: '/equipment/management',
  meta: { title: '设备管理', icon: 'four' },
  children: [
    {
      path: 'management',
      component: () => import('@/views/equipment/equipment-management/index'), // Parent router-view
      name: 'management',
      meta: { title: '设备管理' }
    },
    {
      path: 'status',
      component: () => import('@/views/equipment/equipment-status/index'),
      name: 'status',
      meta: { title: '设备状态' }
    },
    {
      path: 'type',
      component: () => import('@/views/equipment/equipment-type/index'),
      name: 'type',
      meta: { title: '设备类型管理' }
    }
  ]
}
